<%-- 
    Document   : cerrar
    Created on : 24/11/2013, 03:59:58 PM
    Author     : Edgar Augusto A
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script type="text/javascript">
history.forward();
</script>
    </head>
    <body>
        <%
           
         HttpSession session_actual = request.getSession();    
         response.setHeader("Pragma","no-cache");  
         response.setHeader("Cache-Control","no-store");  
         response.setHeader("Expires","0");  
         response.setDateHeader("Expires",-1);
         session_actual.invalidate();
         response.sendRedirect("index.jsp");
        %>
    </body>
</html>
